package com.situ.hibernate.threadpool;

import java.util.concurrent.Callable;

public class ThreadPoolCallable implements Callable {
	@Override
	public Object call() throws Exception {
		System.out.println(Thread.currentThread().getName() + "线程启动");
		Thread.sleep(200);
		System.out.println(Thread.currentThread().getName() + "线程使用完毕归还线程池.");
		return Thread.currentThread().getName();
	}
}
